const express=require('express');
const path=require('path');
//创建路由
const accountRouter=express.Router();
//导入accountRouter对应的accountController
const accoutCtrl=require(path.join(__dirname,'../controllers/accountController.js'));
accountRouter.get('/login',accoutCtrl.getLoginPage);
accountRouter.post('/login',accoutCtrl.login);

// 导出路由

module.exports=accountRouter
